/*
 * Copyright © 2016-2017 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
@import '../../styles/variables.scss';
$grey-theme-color: #f5f5f5;
$container_border_color: #eeeeee;
$active-text-color: #000000;
$uptime_version_color: gray;
$height_of_header: 42px;
$height_of_conent: 450px;

.administration {

  width: 96%;
  height: 100%;
  border: 2px solid $container_border_color;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 70px;
  background-color: $cdap-white;
  > div {
    padding: 10px;
  }

  .primary-label {
    display: inline-flex;
    justify-content: space-around;
  }

  .page-title-and-version {
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .page-title {
      h3 {
        display: inline;
      }
    }
    .uptime-version-container {
      color: $uptime_version_color;
      > span {
        margin: 0 10px;
      }
      .cdap-version {
        font-weight: 500;
      }
    }
  }

  .services-details {
    display: flex;
    width: 100%;
    background: $grey-theme-color;
    padding: 10px;

    > div {
      width: calc(50% - 20px);
      margin: 10px;
    }
    .services-table-section {
      strong {
        font-size: 18px;
        display: block;
      }
    }
  }

  .admin-bottom-panel {
    display: flex;
    padding: 0 10px;
    background: $grey-theme-color;
    padding-bottom: 40px;
  }
}
